<?php echo $content['Content']['content']; ?>
    <div class="gallery">
    <?php if (isset($images)):
        foreach ($images as $image):
            ?>
            <div>
                <p>
                    <?php
                    echo $this->Html->link(
                            $this->Html->image('uploads' . '/' . 'images' . '/' . $image['Image']['filename'], array('alt' => $image['Image']['filename'], 'width' => 100)),
                            '/img/uploads' . '/' . 'images' . '/' . $image['Image']['filename'], array('escape' => false)
                    );
                    ?>


                </p>
            </div>
    <?php endforeach; ?>
    </div>        
    <div class="paging">
        <?php echo $this->Paginator->prev('<< ' . __('előző', true), array(), null, array('class' => 'disabled')); ?>|
            <?php echo $this->Paginator->numbers(); ?>|
            <?php echo $this->Paginator->next(__('következő', true) . ' >>', array(), null, array('class' => 'disabled')); ?>
    </div>

<?php endif; ?>
<?php
if ($content['Content']['email'] != 0) {
    echo $this->element('email');
}?>